content,
.on-focus-mode content,
#typora-sidebar {
    background-image: url(./fans.svg);
    background-attachment: fixed;
    background-position-x: left;
    background-position-y: center;
    background-repeat: no-repeat;
}

content,
.on-focus-mode content {
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
    background-size: 50%;
}

#write table tr,
#write table td {
    border: 1px solid hsla(0, 100%, 75%, 0.3);
}

footer.ty-footer {
    margin: 0 5rem;
    bottom: 1rem;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1);
}

#write,
ul.dropdown-menu,
.md-fences *,
footer.ty-footer,
.modal-content {
    background: transparent !important;
}

#write:before,
#write:after,
ul.dropdown-menu:before,
#typora-sidebar:before,
footer.ty-footer:before,
#typora-quick-open:before,
.modal-content:before {
    content: "";
    display: block;
    width: 100%;
    backdrop-filter: blur(15px);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -99;
    min-height: 100%;
    border-radius: 5px;
    background-blend-mode: overlay;
}

#write:after,
ul.dropdown-menu:after,
#typora-sidebar:before {
    font-size: 0;
    height: 0;
    background-color: #ffffff80;
    background-image: url();
}

::-webkit-scrollbar-thumb {
    background-color: hsla(0, 100%, 75%, 0.3);
}

/**fix**/

.info-panel-tab,
#file-library-search,
#outline-content {
    z-index: 99;
}

#typora-sidebar:before {
    z-index: 1;
}

#typora-sidebar-resizer {
    background: transparent;
    backdrop-filter: blur(55px);
}

input[type=search] {
    background: transparent;
}

.megamenu-menu {
    width: 280px;
}

.megamenu-content {
    padding-left: 280px;
}

.task-list-item input:before {
    background: white;
}

.code-tooltip {
    background: inherit !important;
}


@media (max-width:1300px) {
    content {
        background-size: 100%;
    }
}

@media (min-width:1101px) {
    content {
        background-size: 40%;
    }

    #write {
        margin-top: 25rem;
    }

    .typora-node #write {
        min-height: 2%;
    }

    .ty-on-typewriter-mode #write {
        margin-top: 2rem;
        min-height: calc(100vh - 6rem);
    }
}

@media (max-width:1100px) {
    #write {
        margin-top: 0rem;
    }

    .typora-node #write {
        min-height: 100%;
    }
}

.ty-on-typewriter-mode #write>[cid]:not(.md-meta-block):last-child {
    margin-bottom: 15rem!important;
    padding-bottom: 5rem;
}
